package d13_tz.d1_thread_priority;

//1、线程创建方式二:实现Runnable接口,重写run()方法
public class MyRunnable implements Runnable{
    @Override
    public void run() {
        for (int i = 0; i <=100; i++) {
            System.out.println(Thread.currentThread().getName() + "===>" + i);
        }
    }
}
